extends Node

## 对话信号
signal dialogue_start(id:String,is_pause:bool)
signal dialogue_end(id:String)

## 对话变量
var star:int
var current_npc:Npc
var current_stage:BaseStage
var current_balloon: Balloon

func dialogue_st(id:String, is_pause:bool=true) -> void:
	dialogue_start.emit(id,is_pause)

func _ready() -> void:
	DialogueManager.dialogue_ended.connect(on_dialogue_end.unbind(1))

func on_dialogue_end() -> void:
	dialogue_end.emit(current_npc.npc_id)
